﻿define('api/illegalService', [], function() {

	return {
		
		getEnterpriseIllegalCount:function(param, callback){
			ajaxProcess({
	            url : '/pls/gis/punishinfo/ranking',
	            requestType : 'POST',
	            data : {
	            	areacode: '',
	            	year:''
	            },
	            successHandle : function(res) {
	            	callback(res);
	            }
	        });
		},
		
		getEnterpriseIllegalList:function(param, callback){
			ajaxProcess({
	            url : '/pls/gis/punishinfo/record',
	            requestType : 'POST',
	            data : {
	            	pscode: ''
	            },
	            successHandle : function(res) {
	            	callback(res);
	            }
	        });
		}
	};
	
});
